how to manage dependencies in agile